package org.darkforest.common.services;

import java.util.List;

/**
 * Created by huayunsky on 11/9/2015.
 */
public interface GeneralService<T> extends BaseService<T> {

    List<T> selectByCondition(T object);

    /**
     * 发送消息
     * @param params
     * @param tempId
     * @param to
     * @param type  (0短信，1微信，2短信和微信)
     */
    void sender(String[] params, String tempId, String to, int type);

    void SendWechatMsg(String[] params, String tempId, String to);
}
